#include "rrlight.h"

RRLight::RRLight()
{
    l_coord = RRSetVec3(-40.0f, -40.0f, -10.0f);
    amb_intensity = RRSetVec4(0.0f, 0.0f, 0.0f, 1.0f);
    diff_intensity = RRSetVec4(1.0f, 1.0f, 1.0f, 1.0f);
    spec_intensity = RRSetVec4(1.0f, 1.0f, 1.0f, 1.0f);
}

void RRLight::rrSetCoord(RRVec3 arg)
{
    l_coord = arg;
}

void RRLight::rrSetAmb(RRVec4 arg)
{
    amb_intensity = arg;
}

void RRLight::rrSetDiff(RRVec4 arg)
{
    diff_intensity = arg;
}

void RRLight::rrSetSpec(RRVec4 arg)
{
    spec_intensity = arg;
}

RRVec3 RRLight::rrGetCoord()
{
    return l_coord;
}

RRVec4 RRLight::rrGetAmb()
{
    return amb_intensity;
}

RRVec4 RRLight::rrGetDiff()
{
    return diff_intensity;
}

RRVec4 RRLight::rrGetSpec()
{
    return spec_intensity;
}
